package com.heyqing.ems.vo;

import com.heyqing.ems.common.MateEnum;
import lombok.Data;

/**
 * ClassName:Mate
 * Package:com.heyqing.ems.vo
 * Description:
 *
 * @Date:2024/6/24
 * @Author:Heyqing
 */
@Data
public class Mate {
    private int code;
    private String msg;
    public Mate(MateEnum mateEnum){
        code = mateEnum.getCode();
        msg = mateEnum.getMsg();
    }

    public Mate(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
